package liang.jiaxin.com.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import liang.jiaxin.com.domain.BbsThemes;
import liang.jiaxin.com.mapper.BbsThemesMapper;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Jrxsr
 * @since 2019-04-13
 */
@Service
public class BbsThemesService extends ServiceImpl<BbsThemesMapper, BbsThemes>{

    @Resource
    private BbsThemesMapper bbsThemesMapper;

    public List<BbsThemes> query() {
        return bbsThemesMapper.selectList(new QueryWrapper<BbsThemes>());
    }
}